import { defineConfig } from 'vite'
import path from 'path'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
  resolve: {
    alias:{
      // __dirname 项目物理路径
      "@":path.resolve(__dirname,"src")
    }
  }
})
